package iiil.jee.dao;

import iiil.jee.jdbc.ConnexionJavaDb;
import java.util.List;
import javax.sql.DataSource;

public abstract class DAO <T> {
	
	public DataSource datasource = ConnexionJavaDb.getInstance();

	public abstract T create(T obj);

	public abstract T update(T obj);

	public abstract void delete(T obj);

	public abstract T find(String login);

	public abstract List<T> findAll();
	

}
